<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
       <style type="text/css">
           .headerLabel{
               color:#ffb73d; 
               font-size:14pt; 
               font-weight:bold;
               padding-left:15px;
               padding-right:15px;
           }
       </style>
    </h:head>
    <h:body style="background-color: #000000">
        <ui:composition>
          <center>
            <div style="width: 800px; padding:0px; margin:0px"> 
              <h:form>
                  <center>   
                        <p:graphicImage style="width: 800px" url="/images/jforum_admodule_logo.png"/>
                        <p:menubar style="width: 780px">
                          <p:menuitem>
                              <div align="right">
                                  <p:commandButton value="#{resourcesController.extractResource('LEAVE_ADMIN_PNL')}" action="#{authorizationBean.logout()}"/>
                              </div>
                          </p:menuitem>
                          
                      </p:menubar>
                        
                        <div align="left" style="float: left">
                            <h:outputText style="color:#ffb73d;font-size:14pt;font-weight:bold;padding-left:15px;padding-right:15px;" 
                                                    id="helloMessage"
                                                    rendered="true"
                                                    value="#{resourcesController.extractResource('ADMIN_MODE')}"/>
                        </div>
                            
                        <div align="right" styleClass="headerLabel">
                            <h:outputText style="color:#ffb73d;font-size:14pt;font-weight:bold;padding-left:15px;padding-right:15px;"  
                                          value="#{userSessionListener.currentConnections} #{resourcesController.extractResource('USERS_ONLINE')}"/> 
                        </div>
                    </center>
                      
                  </h:form>

             </div>
           </center>
        </ui:composition>
    </h:body>
</html>

